﻿<Window x:Class="SoftTeach.View.Main.AskForSavingChangesDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:controls="clr-namespace:SoftTeach.Resources.Controls"
        Title="Speichern ..." Height="219" Width="296">
  <Grid>
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto"/>
      <RowDefinition/>
      <RowDefinition Height="Auto"/>
    </Grid.RowDefinitions>
    <controls:SmallDialogHeader Grid.Row="0" Title="Änderungen speichern?"
                                      Icon="/SoftTeach;component/Images/Save32.png"/>

    <Grid Grid.Row="1" Background="{x:Static SystemColors.MenuBarBrush}">
      <TextBlock Margin="10" TextWrapping="Wrap">Wollen Sie die Änderungen in der Datenbank speichern?</TextBlock>
    </Grid>
    <Grid Background="{StaticResource DefaultButtonsBackgroundBrush}" Grid.Row="2">
      <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Center" Margin="10">
        <Button Width="80" IsDefault="True" Click="JaButtonClick" TabIndex="1">Ja</Button>
        <Rectangle Width="10"/>
        <Button Width="80" IsCancel="True" Click="NeinButtonClick" TabIndex="2">Nein</Button>
        <Rectangle Width="10"/>
        <Button Width="80" IsDefault="True" Click="AbbruchButtonClick" TabIndex="3">Abbruch</Button>
      </StackPanel>
    </Grid>
  </Grid>
</Window>
